relocateResource

abstract fun relocateResource(currentUri: Uri, relocatedUri: Uri)

Changes the uri associated with a resource. Note: This function can be used change the Uri of a resource that has been relocated (e.g., to a CDN).

Parameters

currentUri

the current Uri of the resource.

relocatedUri

the new Uri of the resource.